package com.dk.service;

import com.dk.pojo.MdItem;
import com.dk.pojo.MdVendor;
import com.dk.pojo.QcIqc;
import com.dk.result.PageResult;
import com.dk.result.Result;

/**
 * @author LTZ
 * @create 2023/5/11
 */
public interface IqcService {
    PageResult<QcIqc> getIqcInfo(Integer pageNum, Integer pageSize, String iqcCode, String vendorCode, String vendorBatch, String itemCode, String checkResult);

    Result addIqc(QcIqc iqc, MdVendor vendor, MdItem item, String token);

    Result updateIqc(QcIqc iqc, MdVendor vendor, MdItem item, String token);
    Result updateIqc(QcIqc iqc, MdVendor vendor, String token);
    Result updateIqc(QcIqc iqc, MdItem item, String token);
    Result updateIqc(QcIqc iqc, String token);

    void deleteIqc(Long iqcId);

    QcIqc selectByIqcCode(String iqcCode);
}
